<include file="Public/header" />
<div class="container ">
    <div class="row">
    <if condition="$userHomeFlag eq 1">
        <div class="col-md-3">
            <div class="panel panel-default user-home">
                <div class="list-group">
                    <a class="list-group-item" href="__APP__/Home/Index/userHome/user/<{$userHomeRow[0]['username']}>/">基本信息
                    <i class="pull-right fa fa-user"></i></a>
                    <if condition="$myFlag eq 1">
                        <a class="list-group-item my-note" href="__APP__/Home/Index/userHomeNote/user/<{$userHomeRow[0]['username']}>/">我的记录<i class="pull-right fa fa-list"></i></a>
                    </if>
                    <a class="list-group-item" href="__APP__/Home/Index/userHomeShare/user/<{$userHomeRow[0]['username']}>/">所有分享<i class="pull-right fa fa-share-alt"></i></a>
                    <a class="list-group-item" href="__APP__/Home/Index/userHomeCollect/user/<{$userHomeRow[0]['username']}>/">所有收藏<i class="pull-right fa fa-heart"></i></a>
                </div>
            </div>
        </div><!--col-3 end-->
        <div class="col-md-9">
            <block name="userHomeRight">
                <div class="panel panel-default user-home">
                <div class="panel-heading">
                    <{$userHomeRow[0]['username']}> 的个人主页
                    <if condition="$userHomeRow[0]['username'] eq $usersessionname">
                        <a href="__APP__/Home/User/myChange/" class="btn btn-info pull-right">编辑个人资料</a>
                    <else/>
                    </if>
                </div>
                    <div class="list-group">
                        <li class="list-group-item">
                            <label>头像 </label>
                            <img src="__PUBLIC__/uploads/user/<{$userHomeRow[0]['userlogo']}>" alt="<{$userHomeRow[0]['username']}>" height="50px"/>
                        </li>
                        <li class="list-group-item"><label>用户名 </label><{$userHomeRow[0]['username']}></li>
                        <li class="list-group-item"><label>性别</label><{$userHomeRow[0]['usersex']}></li>
                        <li class="list-group-item"><label>注册时间</label><{$userHomeRow[0]['userregtime']}></li>
                        <li class="list-group-item"><label>QQ</label><{$userHomeRow[0]['userqq']}></li>
                        <li class="list-group-item"><label>微信</label><{$userHomeRow[0]['userwechat']}></li>
                        <li class="list-group-item"><label>所在地</label><{$userHomeRow[0]['useraddress']}></li>
                        <li class="list-group-item" title="<{$userHomeRow[0]['userinterest']}>"><label>兴趣</label><{$userHomeRow[0]['userinterest']}></li>
                    </div>
                </div>
            </block>
        </div><!--col-9 end-->
    <else />
        <div class="col-md-12">
            <div class="jumbotron">
                <h2 class="text-center"><i class="fa fa-warning"></i></h2>
              <h2 class="text-center">用户不存在</h2>
            </div>
        </div>
    </if>
    </div><!--row end-->
</div><!--container end-->

<include file="Public/footer"/>